package com.woniuxy.demo;

import java.util.List;

/**
 * @Author 罗蔚
 * @Date 2022/3/24 15:21
 * @Description TODO
 */
public class Classroom {
    Teacher teacher;
    List<Students> studentsList;

    public Classroom() {
    }

    public Classroom(Teacher teacher, List<Students> studentsList) {
        this.teacher = teacher;
        this.studentsList = studentsList;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    public void setStudentsList(List<Students> studentsList) {
        this.studentsList = studentsList;
    }

    @Override
    public String toString() {
        return "Classroom{" +
                "teacher=" + teacher +
                ", studentsList=" + studentsList +
                '}';
    }
}
